Skip to content

Use a TypeTranslator instance in RBSCommentsToSorbetSigs#953

Merged
amomchilov merged 1 commit into
mainfrom
jb-refactor-type-translator
Jun 16, 2026
Merged

Use a TypeTranslator instance in RBSCommentsToSorbetSigs#953
amomchilov merged 1 commit into
mainfrom
jb-refactor-type-translator

Conversation

@dejmedus

Copy link
Copy Markdown
Contributor

Previously, RBSCommentsToSorbetSigs translated types using the RBI::RBS::TypeTranslator translate method. In order to support the ability to pass translation configuration. This PR creates a TypeTranslator instance and updates type translation callers to use it

Previously, `RBSCommentsToSorbetSigs` translated
RBS types using `RBI::RBS::TypeTranslator`s `translate`
method. In order to unlock the ability to pass translation
configuration, this commit instead creates a `TypeTranslator`
instance and updates type translation callers to use it
@dejmedus

dejmedus commented Jun 16, 2026

Copy link
Copy Markdown
Contributor Author

@amomchilov amomchilov marked this pull request as ready for review June 16, 2026 21:57
@amomchilov amomchilov requested a review from a team as a code owner June 16, 2026 21:57
@amomchilov amomchilov merged commit ab878c8 into main Jun 16, 2026
11 checks passed
@amomchilov amomchilov deleted the jb-refactor-type-translator branch June 16, 2026 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants